package com.netty;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class MessageInfo implements Serializable{
	private static final long serialVersionUID = -3612571225762188624L;
	//源客户端id
	private String sourceClientId;
	//目标客户端id
	private String targetClientId;
	//消息类型
	private String msgType;
	//消息内容
	private String msgContent;

	public String getSourceClientId() {
		return sourceClientId;
	}
	public void setSourceClientId(String sourceClientId) {
		this.sourceClientId = sourceClientId;
	}
	public String getTargetClientId() {
		return targetClientId;
	}
	public void setTargetClientId(String targetClientId) {
		this.targetClientId = targetClientId;
	}
	public String getMsgType() {
		return msgType;
	}
	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
	public String getMsgContent() {
		return msgContent;
	}
	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}
}
